Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Fargekritt committed Oct 2, 2024
1 parent e4ebe1e commit 0d4ad1c
Showing 1 changed file with 0 additions and 29 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,35 +59,6 @@ public async Task<SetDialogLabelResult> Handle(

var currentUserInformation = await _userRegistry.GetCurrentUserInformation(cancellationToken);


/*
* Amund:
* [x] Rename meste parten til systenLabel istedet for label
* [x] Post til put
* [x] Fjerne intak av prefix på enduser endpoint
* [ ] Search med flere labels?
*
* POST api/v1/enduser/dialogs/{dialogId}/labels
* [
* "magnusSineLabels:HelloWorld",
* "systemlabels:bin",
* [
*
* DELETE api/v1/enduser/dialogs/{dialogId}/labels
* [
* "magnusSineLabels:HelloWorld",
* "systemlabels:bin",
* [
*
* PUT api/v1/enduser/dialogs/{dialogId}/systemlabels
{
* "label": "bin"
* }
* Er dette bedre?
* PUT api/v1/enduser/dialogs/{dialogId}/systemlabels/{label}
*/


dialog.DialogEndUserContext.UpdateLabel(request.Label, currentUserInformation.UserId.ExternalIdWithPrefix);

var saveResult = await _unitOfWork
Expand Down

0 comments on commit 0d4ad1c

Please sign in to comment.