Advertisement
Guest User

Untitled

a guest
Jul 10th, 2017
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Go 0.32 KB | None | 0 0
  1. if err := repository.ConnectAssetsToAsset(issuingUser, assetId, unitIdsSlice); err != nil {
  2.                 http.Error(w, fmt.Sprintf("Cannot connect assets %v to asset %v. Err:%v",
  3.                     unitIds,assetId, err), http.StatusConflict)
  4.             } else {
  5.                 common.WritePlainf(w, "Assets %v succesfully connected to asset %v", unitIds, assetId)
  6.             }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement