🚚 Move make friendship api
This commit is contained in:
parent
08c639497d
commit
192a03e9d1
9
.idea/workspace.xml
generated
9
.idea/workspace.xml
generated
@ -4,10 +4,9 @@
|
||||
<option name="autoReloadType" value="ALL" />
|
||||
</component>
|
||||
<component name="ChangeListManager">
|
||||
<list default="true" id="3fefb2c4-b6f9-466b-a523-53352e8d6f95" name="更改" comment=":sparkles: Better check in experience random algorithm">
|
||||
<list default="true" id="3fefb2c4-b6f9-466b-a523-53352e8d6f95" name="更改" comment=":sparkles: Better relationships stauts query">
|
||||
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/pkg/internal/http/api/relationships_api.go" beforeDir="false" afterPath="$PROJECT_DIR$/pkg/internal/http/api/relationships_api.go" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/pkg/internal/services/relationships.go" beforeDir="false" afterPath="$PROJECT_DIR$/pkg/internal/services/relationships.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" />
|
||||
@ -160,7 +159,6 @@
|
||||
</component>
|
||||
<component name="VcsManagerConfiguration">
|
||||
<option name="CHECK_CODE_SMELLS_BEFORE_PROJECT_COMMIT" value="false" />
|
||||
<MESSAGE value=":sparkles: Add list relative method into authkit" />
|
||||
<MESSAGE value=":sparkles: Realm operations now available in authkit" />
|
||||
<MESSAGE value=":bug: Fix grpc namespace conflict" />
|
||||
<MESSAGE value=":recycle: Replace nil context with context.Background in authkit" />
|
||||
@ -185,7 +183,8 @@
|
||||
<MESSAGE value=":sparkles: Result modifiers in check-in" />
|
||||
<MESSAGE value=":boom: Passing relationship api arguments in body instead of querystring" />
|
||||
<MESSAGE value=":sparkles: Better check in experience random algorithm" />
|
||||
<option name="LAST_COMMIT_MESSAGE" value=":sparkles: Better check in experience random algorithm" />
|
||||
<MESSAGE value=":sparkles: Better relationships stauts query" />
|
||||
<option name="LAST_COMMIT_MESSAGE" value=":sparkles: Better relationships stauts query" />
|
||||
<option name="GROUP_MULTIFILE_MERGE_BY_DIRECTORY" value="true" />
|
||||
</component>
|
||||
<component name="VgoProject">
|
||||
|
@ -72,7 +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)
|
||||
|
||||
relations.Get("/", listRelationship)
|
||||
|
Loading…
Reference in New Issue
Block a user