Apply suggestions from code review

Co-Authored-By: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com>
This commit is contained in:
Alex Chen 2019-08-07 00:14:50 +08:00 committed by GitHub
parent ea101a5674
commit c557331a83
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -64,7 +64,7 @@ type GetAliasesForRoomIDResponse struct {
// GetCreatorIDForAliasRequest is a request to GetCreatorIDForAlias
type GetCreatorIDForAliasRequest struct {
// The alias we want to find creator for
// The alias we want to find the creator of
Alias string `json:"alias"`
}

View file

@ -26,7 +26,7 @@ CREATE TABLE IF NOT EXISTS roomserver_room_aliases (
alias TEXT NOT NULL PRIMARY KEY,
-- Room ID the alias refers to
room_id TEXT NOT NULL,
-- ID of the user created this alias
-- User ID of the creator of this alias
creator_id TEXT NOT NULL
);