feat(integerations): add route to get user details (#4030)
* feat(integerations): add route to get user details * Commit updated API documentation * test(integrations): implement unit test for get user details --------- Co-authored-by: Owncast <owncast@owncast.online> Co-authored-by: Gabe Kangas <gabek@real-ity.com>
This commit is contained in:
@@ -74,3 +74,7 @@ func GetUserDetails(w http.ResponseWriter, r *http.Request) {
|
||||
utils.InternalErrorHandler(w, err)
|
||||
}
|
||||
}
|
||||
|
||||
func ExternalGetUserDetails(integration models.ExternalAPIUser, w http.ResponseWriter, r *http.Request) {
|
||||
GetUserDetails(w, r)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user