feat: added get and update actions for organization member#484
Merged
feat: added get and update actions for organization member#484
Conversation
Codecov Report
@@ Coverage Diff @@
## staging #484 +/- ##
===========================================
- Coverage 94.99% 94.99% -0.01%
===========================================
Files 159 162 +3
Lines 3095 3154 +59
===========================================
+ Hits 2940 2996 +56
- Misses 155 158 +3
Continue to review full report at Codecov.
|
| const $setKeys = $set && Object.keys($set); | ||
| const $setLength = $setKeys && $setKeys.length || 0; | ||
| if ($setLength > 0) { | ||
| pipeline.hmset(memberKey, mapValues($set, JSONStringify)); |
Contributor
There was a problem hiding this comment.
const values = $set ? Object.values($set) : false
if (values && values.length) {
pipeline.hmset(memberKey, values.map(JSONStringify))
}
jenyapoyarkov
approved these changes
Nov 27, 2020
| afterEach(global.clearRedis); | ||
|
|
||
| it('must reject invalid params and return detailed error', function test() { | ||
| return this.dispatch('users.organization.members.update', {}) |
Contributor
There was a problem hiding this comment.
как-то так:
await assert.rejects(this.dispatch('users.organization.members.update', {}), {
name: 'HttpStatusError'
})
BrRenat
added a commit
that referenced
this pull request
Nov 27, 2020
* feat: added get and update actions for organization member * fix: bump mailer templates
BrRenat
added a commit
that referenced
this pull request
Nov 29, 2020
* fix: edited actions for the organization members and invites (#481) * fix: edited actions for the organization members and invites * fix: not include added members in invite list * fix: update mailer templates * chore(release): 14.12.3-rc.1 [skip ci] ## [14.12.3-rc.1](v14.12.2...v14.12.3-rc.1) (2020-11-16) ### Bug Fixes * edited actions for the organization members and invites ([#481](#481)) ([a3f2627](a3f2627)) * fix: added new props form email config in validation scheme * chore(release): 14.12.3-rc.2 [skip ci] ## [14.12.3-rc.2](v14.12.3-rc.1...v14.12.3-rc.2) (2020-11-18) ### Bug Fixes * added new props form email config in validation scheme ([6625eb6](6625eb6)) * fix: edit emal types in validate config * fix: omit required email types in validation config * fix: fix test config * chore(release): 14.12.3-rc.3 [skip ci] ## [14.12.3-rc.3](v14.12.3-rc.2...v14.12.3-rc.3) (2020-11-18) ### Bug Fixes * edit emal types in validate config ([43896ba](43896ba)) * fix test config ([0db5127](0db5127)) * omit required email types in validation config ([f2b16de](f2b16de)) * fix: allow any types for user permission * chore(release): 14.12.3-rc.4 [skip ci] ## [14.12.3-rc.4](v14.12.3-rc.3...v14.12.3-rc.4) (2020-11-20) ### Bug Fixes * allow any types for user permission ([be0d9dc](be0d9dc)) * fix: remove invite after accept * chore(release): 14.12.3-rc.5 [skip ci] ## [14.12.3-rc.5](v14.12.3-rc.4...v14.12.3-rc.5) (2020-11-23) ### Bug Fixes * remove invite after accept ([287f7b3](287f7b3)) * feat: added get and update actions for organization member (#484) * feat: added get and update actions for organization member * fix: bump mailer templates Co-authored-by: semantic-release-bot <semantic-release-bot@martynus.net>
AVVS
pushed a commit
that referenced
this pull request
Nov 29, 2020
# [14.13.0-rc.1](v14.12.3...v14.13.0-rc.1) (2020-11-29) ### Bug Fixes * added new props form email config in validation scheme ([c11d040](c11d040)) * allow any types for user permission ([2c708e9](2c708e9)) * edit emal types in validate config ([b162bdf](b162bdf)) * edited actions for the organization members and invites ([#481](#481)) ([cc276bc](cc276bc)) * fix test config ([c1f88e1](c1f88e1)) * omit required email types in validation config ([a05b4fd](a05b4fd)) * remove invite after accept ([2eac8c4](2eac8c4)) ### Features * added get and update actions for organization member ([#484](#484)) ([6d59440](6d59440))
AVVS
pushed a commit
that referenced
this pull request
Dec 1, 2020
AVVS
pushed a commit
that referenced
this pull request
Dec 7, 2020
# [14.14.0-rc.1](v14.13.0...v14.14.0-rc.1) (2020-12-07) ### Bug Fixes * added new props form email config in validation scheme ([c11d040](c11d040)) * allow any types for user permission ([2c708e9](2c708e9)) * bump templates ([77eedd0](77eedd0)) * edit emal types in validate config ([b162bdf](b162bdf)) * edited actions for the organization members and invites ([#481](#481)) ([cc276bc](cc276bc)) * fix test config ([c1f88e1](c1f88e1)) * merge master ([99fc059](99fc059)) * omit required email types in validation config ([a05b4fd](a05b4fd)) * remove invite after accept ([2eac8c4](2eac8c4)) ### Features * added get and update actions for organization member ([#484](#484)) ([6d59440](6d59440))
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.