🐛 Fix missing api endpoint
This commit is contained in:
parent
02f122328a
commit
0115e6723a
12
.idea/workspace.xml
generated
12
.idea/workspace.xml
generated
@ -4,13 +4,9 @@
|
||||
<option name="autoReloadType" value="ALL" />
|
||||
</component>
|
||||
<component name="ChangeListManager">
|
||||
<list default="true" id="3fefb2c4-b6f9-466b-a523-53352e8d6f95" name="更改" comment=":bug: Fix random panic">
|
||||
<list default="true" id="3fefb2c4-b6f9-466b-a523-53352e8d6f95" name="更改" comment=":zap: Add cache into querying user">
|
||||
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/pkg/internal/grpc/user.go" beforeDir="false" afterPath="$PROJECT_DIR$/pkg/internal/grpc/user.go" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/pkg/internal/http/api/accounts_api.go" beforeDir="false" afterPath="$PROJECT_DIR$/pkg/internal/http/api/accounts_api.go" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/pkg/internal/http/api/userinfo_api.go" beforeDir="false" afterPath="$PROJECT_DIR$/pkg/internal/http/api/userinfo_api.go" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/pkg/internal/services/accounts.go" beforeDir="false" afterPath="$PROJECT_DIR$/pkg/internal/services/accounts.go" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/pkg/internal/services/preferences.go" beforeDir="false" afterPath="$PROJECT_DIR$/pkg/internal/services/preferences.go" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/pkg/internal/http/api/index.go" beforeDir="false" afterPath="$PROJECT_DIR$/pkg/internal/http/api/index.go" afterDir="false" />
|
||||
</list>
|
||||
<option name="SHOW_DIALOG" value="false" />
|
||||
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
||||
@ -163,7 +159,6 @@
|
||||
</component>
|
||||
<component name="VcsManagerConfiguration">
|
||||
<option name="CHECK_CODE_SMELLS_BEFORE_PROJECT_COMMIT" value="false" />
|
||||
<MESSAGE value=":loud_sound: Verbose notifying check logging" />
|
||||
<MESSAGE value=":bug: Fix notifiable is empty when user do not set" />
|
||||
<MESSAGE value=":bug: Fix notification push batch emitted twice" />
|
||||
<MESSAGE value=":sparkles: Support jwks.json according OIDC stranded" />
|
||||
@ -188,7 +183,8 @@
|
||||
<MESSAGE value=":loud_sound: Verbose logging at receive broadcasting event" />
|
||||
<MESSAGE value=":bug: Bug fix directory service wasn't registered" />
|
||||
<MESSAGE value=":bug: Fix random panic" />
|
||||
<option name="LAST_COMMIT_MESSAGE" value=":bug: Fix random panic" />
|
||||
<MESSAGE value=":zap: Add cache into querying user" />
|
||||
<option name="LAST_COMMIT_MESSAGE" value=":zap: Add cache into querying user" />
|
||||
<option name="GROUP_MULTIFILE_MERGE_BY_DIRECTORY" value="true" />
|
||||
</component>
|
||||
<component name="VgoProject">
|
||||
|
@ -72,6 +72,7 @@ func MapAPIs(app *fiber.App, baseURL string) {
|
||||
|
||||
relations := me.Group("/relations").Name("Relations")
|
||||
{
|
||||
relations.Post("/", makeFriendship)
|
||||
relations.Post("/friend", makeFriendship)
|
||||
relations.Post("/block", makeBlockship)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user