Skip to content

Conversation

@kushthedude
Copy link
Member

Fixes #6202

@auto-label auto-label bot added the fix label Jul 16, 2019
@kushthedude
Copy link
Member Author

@uds5501 @mrsaicharan1 @iamareebjamal Please Review

@codecov
Copy link

codecov bot commented Jul 16, 2019

Codecov Report

Merging #6203 into development will increase coverage by 0.01%.
The diff coverage is 0%.

Impacted file tree graph

@@               Coverage Diff               @@
##           development    #6203      +/-   ##
===============================================
+ Coverage        65.97%   65.99%   +0.01%     
===============================================
  Files              288      288              
  Lines            14526    14528       +2     
===============================================
+ Hits              9584     9588       +4     
+ Misses            4942     4940       -2
Impacted Files Coverage Δ
app/api/events.py 25.94% <0%> (-0.16%) ⬇️
app/api/helpers/scheduled_jobs.py 24.8% <0%> (+3.19%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 367836d...61fb1ff. Read the comment docs.

raise ConflictException({'pointer': '/data/attributes/location-name'},
"Online Event does not have any locaton")

if not data.get('name', None) and data.get('state', None) == 'published':
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not data.get('name', None)?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because event name should not be empty

@iamareebjamal iamareebjamal merged commit 7b54d2a into fossasia:development Jul 16, 2019
@kushthedude kushthedude deleted the 3 branch July 17, 2019 01:20
iamareebjamal pushed a commit to iamareebjamal/open-event-server that referenced this pull request Aug 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Events without name can be published

4 participants